package java_00_lzy;

public class Demo110203 {
	public static void main(String[] args) {
		int[] c = {18,25,7,13,13,25,13};
		
		for(int i=0;i<c.length;i++){
			for(int j=0;j<c.length;j++){
				if(c[i]==c[j] && i!=j){
					c[j]=0;
				}
			}
		}
		for(int i=0;i<c.length;i++){
			System.out.println(c[i]);
		}
	}
}
